<script>
	import {
		getAction
	} from './common/request'
	export default {
		onLaunch: function() {
			const token = uni.getStorageSync('token')
			if (!token) {
				uni.reLaunch({
					url: "/pages/login/index"
				})
			}
		},
		onShow: function() {},
		onHide: function() {}
	}
</script>

<style>
	page {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

	* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}
</style>